package com.zj.transactionspringboot01.service;

import com.zj.transactionspringboot01.domain.Teacher;

import java.util.List;

public interface IteacherService {
    int addTeacher(Teacher teacher);
    int deleteTeacher(Integer id);
    int updateTeacher(Teacher teacher);

    int updateTeacherByName(Teacher teacher);
    Teacher selectTeacher(Integer id);

    List<Teacher> selectTeachers();

}
